<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Note_Comment extends Model
{
    // 手记评论表
    protected $table = "note_comment";
    public $timestamps = false;
    protected $guarded = ['id'];

    public function user()
    {
        return $this->belongsTo('App\User');
    }

    public function note()
    {
        return $this->belongsTo('App\Note');
    }
}
